<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>

<%
    String contextPath = request.getContextPath();
    String path = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort() + contextPath;
    String path1=path+"/assets/css/main.css";
    String path2=path+"/assets/image/pic03.jpg";
%>


<html>
<head >
    <meta charset="utf-8"/>
    <link rel="stylesheet" href="<%=path1%>"/>
</head>
<body style="url('<%=path2%>');">
<div id="wrapper">
    <header id="header">
        <h1>用户信息-${user.getName()}</h1>
        <p>id:${user.id}</p>
    </header>
    <div id="main" style="width: 100%;margin-left: auto;margin-right: auto;">
        <section id="content" class="main">
                <div style="width: 50%;margin-left: auto;margin-right: auto;">
                    <div class="12u$(medium)">
                        <ul class="alt">
                            
                            <li>    手机：${user.phone}</li>
                            <li>    姓名：${user.getName()}</li>   
                            <li>    生日：${user.birthday}</li>
                            <li>    性别：${user.sex}</li>
                            <li>账户余额：${user.money}</li>
                            <li>  购物车：<a href="#" style="color:#4f94cd">点击查看</a></li>
                        
                            
                        </ul>
                    </div>
                    <div class="12u$(medium)" >
                        <p>个人简介</p>    
                    </div>
                    <div class="12u$(medium)">
                        <a onclick="editInfo();" class="button special">修改资料</a>
                        <a onclick="editPswd();" class="button special">修改密码</a>
                </div>   
            </div>
        </section>

    </div>
    <footer id="footer">
        <section>
            <h2>云忆网络科技</h2>
            <p>专业制作个人永久电子档案、二维码</p>
            <ul class="actions">
                <li><a href="#" class="button">了解更多</a></li>
            </ul>
        </section>
        <section>
            <dl class="alt">
                <dt>Address</dt>
                <dd>湖北省武汉市xxxxxx</dd>
                <dt>Phone</dt>
                <dd>(000) 000-0000 x 0000</dd>
                <dt>Email</dt>
                <dd>information@untitled.tld</dd>
            </dl>
            <ul class="icons">
                <li><a href="#" class="icon fa-twitter alt"><span class="label">Twitter</span></a></li>
                <li><a href="#" class="icon fa-facebook alt"><span class="label">Facebook</span></a></li>
                <li><a href="#" class="icon fa-instagram alt"><span class="label">Instagram</span></a></li>
                <li><a href="#" class="icon fa-github alt"><span class="label">GitHub</span></a></li>
                <li><a href="#" class="icon fa-dribbble alt"><span class="label">Dribbble</span></a></li>
            </ul>
        </section>
        <p class="copyright">&copy; Untitled. Design: <a href="https://html5up.net">HTML5 UP</a>.</p>
    </footer>
</div>
</body>
<script type="text/javascript">
    function editInfo(){
    var id=getKeyId();
    if(isEditor(id)){
        top.openModal("/user/user_info_edit?key="+id,"user_form","用户信息-修改",800,446);
    }

    function editPswd(){
    var id=getKeyId();
    if(isEditor(id)){
        top.openModal("/user/user_pswd_edit?key="+id,"user_form","用户密码-修改",800,446);
    }
}




</script>





</html>
